package com.coffeeloversupportlibrary.coffeelover.mercury.entity;

import java.util.List;

/**
 * @author 盛守义
 * @createTime 2021/11/13 16:15
 * @projectName TurningCoffee
 * @className Comment.java
 * @description TODO
 */
public class Comment {
    private Boolean success;
    private Integer code;
    private String message;
    private DataDTO data;

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataDTO getData() {
        return data;
    }

    public void setData(DataDTO data) {
        this.data = data;
    }

    public static class DataDTO {
        private List<CommentsDTO> comments;

        public List<CommentsDTO> getComments() {
            return comments;
        }

        public void setComments(List<CommentsDTO> comments) {
            this.comments = comments;
        }

        public static class CommentsDTO {
            private Integer id;
            private Integer coffeeId;
            private String coffeeName;
            private String coffeeImg;
            private String userNickname;
            private String userImg;
            private String coffeeComment;
            private String createTime;
            private String updateTime;
            private Boolean deleted;

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public Integer getCoffeeId() {
                return coffeeId;
            }

            public void setCoffeeId(Integer coffeeId) {
                this.coffeeId = coffeeId;
            }

            public Object getCoffeeName() {
                return coffeeName;
            }

            public void setCoffeeName(String coffeeName) {
                this.coffeeName = coffeeName;
            }

            public Object getCoffeeImg() {
                return coffeeImg;
            }

            public void setCoffeeImg(String coffeeImg) {
                this.coffeeImg = coffeeImg;
            }

            public String getUserNickname() {
                return userNickname;
            }

            public void setUserNickname(String userNickname) {
                this.userNickname = userNickname;
            }

            public String getUserImg() {
                return userImg;
            }

            public void setUserImg(String userImg) {
                this.userImg = userImg;
            }

            public String getCoffeeComment() {
                return coffeeComment;
            }

            public void setCoffeeComment(String coffeeComment) {
                this.coffeeComment = coffeeComment;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }

            public Boolean getDeleted() {
                return deleted;
            }

            public void setDeleted(Boolean deleted) {
                this.deleted = deleted;
            }
        }
    }
}
